const express = require('express');
const server = express()
const router =  require('./router');
const bodyparser =  require('body-parser');
server.use('/static',express.static('./static'))
server.use(bodyparser({extended:false}));
server.use(bodyparser.json());

server.use('/api',router)

server.listen(9090,()=>{
    console.log('我是9000 来自server2')
})